<?php

App::uses('AppRuleInterface', 'Lib');

abstract class AppRule implements AppRuleInterface {
    
    public $arguments = array();
    public $error = false;
    
    /**
     * (non-PHPdoc)
     * @see AppRuleInterface::apply()
     */
    public function apply(Leave $leave, $attr1=null, $attr2=null, $attr3=null) {
        return true;
    }
    
    public function setError($message) {
        $this->error = $message;
    }
}

?>